package com.framework.service.app.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.framework.dao.app.OrAppMenuTypeDao;
import com.framework.entity.or.OrAppMenuType;
import com.framework.service.app.OrAppMenuTypeService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wq
 */
@Service("orAppMenuTypeService")
public class OrAppMenuTypeServiceImpl extends ServiceImpl<OrAppMenuTypeDao,OrAppMenuType> implements OrAppMenuTypeService {
    @Override
    public List<OrAppMenuType> queryMenuType(Long deptId) {

        return selectList(new EntityWrapper<OrAppMenuType>().eq("dept_id",deptId));
    }
}
